package com.zeng.ssm.dal.mapper;

import com.zeng.ssm.dal.model.AccountLog;
import com.zeng.ssm.dal.model.AccountLogExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * 记账记录Mapper
 *
 * @author zengwanlin
 */
@Mapper
public interface AccountLogMapper {
    long countByExample(AccountLogExample example);

    int deleteByExample(AccountLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AccountLog row);

    int insertSelective(AccountLog row);

    List<AccountLog> selectByExampleWithRowbounds(AccountLogExample example, RowBounds rowBounds);

    List<AccountLog> selectByExample(AccountLogExample example);

    AccountLog selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") AccountLog row, @Param("example") AccountLogExample example);

    int updateByExample(@Param("row") AccountLog row, @Param("example") AccountLogExample example);

    int updateByPrimaryKeySelective(AccountLog row);

    int updateByPrimaryKey(AccountLog row);
}